package com.groupbuying.cheetah.dao;

import com.groupbuying.cheetah.domain.CheetahTmpOrderPayDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 
 * @author WANGNING
 * @email wyn20140226@aliyun.com
 * @date 2019-09-19 11:28:27
 * @des
 */

@Mapper
@Repository
public interface CheetahTmpOrderPayDao {

	CheetahTmpOrderPayDO get(String orderType);
	
	List<CheetahTmpOrderPayDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CheetahTmpOrderPayDO tmpOrderPay);
	
	int update(CheetahTmpOrderPayDO tmpOrderPay);
	
	int remove(String order_type);
	
	int batchRemove(String[] orderTypes);

	List<CheetahTmpOrderPayDO> getCheetahTmpOrderPayList(String orderid);

	int saveList(List<CheetahTmpOrderPayDO> cheetahTmpOrderPayList);

	/**
	 * 查询够样优店订单列表
	 * @param orderid
	 * @return List
	 */
	List<CheetahTmpOrderPayDO> getCheetahTmpGYOrderPayList(String orderid);
}
